﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="List.aspx.cs" Inherits="Enterprise.UI.Web.Manage.User.List" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link rel="stylesheet" type="text/css" href="../../Styles/css/gridview.css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainPH" runat="server">
    <div class="vDaohangtiaoHolder module">
        <div class="vDaohangtiao">
            <ul>
                <li class="first">
                    <a href="/index.aspx" title="首页">首页</a>
                </li>
                <li>系统管理</li>
                <li class="last">用户管理
                </li>
            </ul>
        </div>
    </div>
    <Ent:HeadMenuWeb ID="HeadMenu1" runat="server">
    </Ent:HeadMenuWeb>
    <table cellpadding="0" cellspacing="0" border="0" width="100%" class="layoutTable">
        <tr>
            <td align="left" width="180" valign="top" style="border: 0px;">
                <asp:TreeView ID="TreeView1" runat="server" ImageSet="Arrows" BorderWidth="0px" CssClass="TreeviewStyle">
                    <HoverNodeStyle Font-Underline="True" ForeColor="#5555DD" />
                    <NodeStyle Font-Names="Tahoma" Font-Size="10pt" ForeColor="Black" HorizontalPadding="5px"
                        NodeSpacing="0px" VerticalPadding="0px" />
                    <ParentNodeStyle Font-Bold="False" />
                    <SelectedNodeStyle Font-Underline="True" ForeColor="#5555DD" HorizontalPadding="0px"
                        VerticalPadding="0px" BackColor="#FF6666" />
                </asp:TreeView>
            </td>
            <td align="left" valign="top" style="border: 0px">
                <asp:GridView ID="GridView1" runat="server" DataKeyNames="USERID" AutoGenerateColumns="false"
                    CssClass="GridViewStyle"
                    Width="100%">
                    <Columns>
                        <asp:TemplateField ItemStyle-Width="30">
                            <ItemTemplate>
                                <img src="../../Manage/Common/img/arrow_142.gif" alt="" />
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField ItemStyle-Width="30" HeaderText="序号">
                            <ItemTemplate>
                                <%#Container.DataItemIndex+1 %>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="名称" ItemStyle-Width="120">
                            <ItemTemplate>
                                <a href="Disp.aspx?Id=<%#Eval("USERID") %>&DeptId=<%=Id %>">
                                    <%#Eval("UNAME") %></a>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:BoundField DataField="uSex" HeaderText="性别" />
                        <asp:BoundField DataField="uLoginName" HeaderText="帐号" />
                        <asp:BoundField DataField="UBIRTHDAY" HeaderText="出生日期" DataFormatString="{0:yyyy-MM-dd}" />
                        <asp:TemplateField HeaderText="人员状态" ItemStyle-Width="60">
                            <ItemTemplate>
                                <%#((string)Eval("uStatus")) == "0" ? "<img src=\"../../Manage/Common/img/right.gif\" border=\"0\" alt=\"正常登录\">" : "<img src=\"../../Manage/Common/wrong.gif\" border=\"0\" alt=\"禁止登录\">"%>
                            </ItemTemplate>
                        </asp:TemplateField>
                    </Columns>
                    <HeaderStyle CssClass="GridViewHeaderStyle" />
                    <AlternatingRowStyle CssClass="GridViewAlternatingRowStyle" />
                    <RowStyle CssClass="GridViewRowStyle" />
                </asp:GridView>
            </td>
        </tr>
    </table>
</asp:Content>
